// 将属性K对应的T转化为U
interface ProductIncart{
    id:number;
    name:string;
    label?:string
}
type Rroduct = ProductIncart[]
// Record<string,ProductIncart> 这俩一个意思
interface Test{
    [key:string]:ProductIncart
}
class CarModel {
    products:Record<string,ProductIncart>={
        "wzc":{
            id:20,
            name:'wzc'
        }
    };
}